Skip to content

Conversation

@quinna-h
Copy link
Contributor

@quinna-h quinna-h commented Oct 17, 2025

Motivation

For AIDM-149, we want to modify the reporting of the feature parity dashboard

Changes

How to test:
Run the scenario: ./run.sh OTEL_COLLECTOR

See feature parity output: cat logs_otel_collector/feature_parity.json

Expected:

{
  "runUrl": "https://github.com/DataDog/system-tests",
  "runDate": 1761848254.882145,
  "environment": "local",
  "testSource": "systemtests",
  "language": "otel_collector",
  "variant": "",
  "testedDependencies": [
    {
      "name": "docker.Cgroup",
      "version": "2"
    },
    {
      "name": "postgresql",
      "version": "alpine"
    }
  ],
  "configuration": {
    "collector_version": "0.138.0-nightly.4ab263f",
    "collector_image": "otel/opentelemetry-collector-contrib:nightly",
    "collector_image_commit": "4ab263fa462facd3f3a05cce69cecb37a9967e61",
    "config_file": "otelcol-config-with-postgres.yaml",
    "receivers": [
      "otlp",
      "postgresql"
    ],
    "postgresql_receiver": {
      "endpoint": "postgres:5433",
      "databases": [
        "system_tests_dbname"
      ]
    },
    "exporters": [
      "datadog",
      "debug",
      "file/traces",
      "file/metrics",
      "file/logs"
    ],
    "datadog_exporter_config": {
      "metrics": {
        "instrumentation_scope_metadata_as_tags": true
      }
    },
    "pipelines": [
      "traces",
      "metrics",
      "metrics/postgresql",
      "logs"
    ]
  },
  "scenario": "OTEL_COLLECTOR",
  "tests": [
    {
      "path": "tests/otel_postgres_metrics_e2e/test_postgres_metrics.py::Test_PostgreSQLMetricsCollection::test_postgresql_metrics_received_by_collector",
      "lineNumber": 142,
      "outcome": "passed",
      "testDeclaration": null,
      "details": null,
      "features": [
        218
      ]
    },
    {
      "path": "tests/otel_postgres_metrics_e2e/test_postgres_metrics.py::Test_BackendValidity::test_postgresql_metrics_received_by_backend",
      "lineNumber": 179,
      "outcome": "passed",
      "testDeclaration": null,
      "details": null,
      "features": [
        218
      ]
    },
    {
      "path": "tests/otel_postgres_metrics_e2e/test_postgres_metrics.py::Test_Smoke::test_main",
      "lineNumber": 242,
      "outcome": "xpassed",
      "testDeclaration": "bug",
      "details": "bug (AIDM-147)",
      "features": [
        218
      ]
    }
  ]
}

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

@github-actions
Copy link
Contributor

github-actions bot commented Oct 17, 2025

CODEOWNERS have been resolved as:

utils/_context/_scenarios/otel_collector.py                             @DataDog/system-tests-core
utils/_context/containers.py                                            @DataDog/system-tests-core
utils/interfaces/_backend.py                                            @DataDog/system-tests-core

@quinna-h quinna-h requested review from bojbrook and wantsui October 21, 2025 18:56
@quinna-h quinna-h marked this pull request as ready for review October 22, 2025 18:02
@quinna-h quinna-h requested a review from a team as a code owner October 22, 2025 18:02
@quinna-h quinna-h changed the title [wip] Add to OTel reporting for feature parity Add to OTel reporting for feature parity Oct 23, 2025
@quinna-h quinna-h requested a review from cbeauchesne October 30, 2025 18:39
@quinna-h
Copy link
Contributor Author

quinna-h commented Oct 30, 2025

The failing test is related to adding the scenario which should be part of this PR: [OpenTelemetry] Postgres metrics updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants